Modulation Methods and Systems

ABSTRACT

A modulation system includes an encoder for transferring data words to tentative code words. A DSV control bit generator determines the value of a DSV control bit according to the data words or the tentative code words to optimize the cumulative DSVs corresponding tentative code words, wherein the DSV control bit generator determines the value of a current DSV control bit when at least a subsequent DSV control bit is detected. A final code word generator generates final code words according to the determined DSV control bit and the tentative code words.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of applicant's earlier application, Ser. No. 11/162,323, filed Sep. 6, 2005, the entirety of which is incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to modulation methods and systems for recording digital data on an information medium such as an optical disc, more particularly to modulation methods and systems for minimizing a cumulative digital sum value (DSV) for high-density optical storage systems.

2. Description of the Prior Art

Prior to transmission or recording of digital data, the digital data is usually converted to another data pattern through a certain modulation method. In compact disc (CD) recording systems, the data to be recorded on a compact disc is modulated using EFM (eight-to-fourteen modulation), whereas the data to be recorded on a digital versatile disc (DVD) is modulated using EFM+(eight-to-sixteen modulation). However, during the process of EFM or EFM+modulation, it is important to keep the DSV value as close to zero as possible to allow reliable tracking and reliable detection of high frequency signals. Therefore, there were several methods proposed for keeping the absolute value of the DSV as low as possible to suppress DC (direct current) content during a modulation procedure. In advanced optical discs such as Blu-ray disc (BD), and high density DVD (HD-DVD), to improve the ability of suppressing DC (direct current) content during the modulation procedure, DC (DSV) control bits are included in 17PP modulation for BD and eight-to-twelve modulation for HD-DVD. By controlling the values of DC control bits, the absolute value of the cumulative DSV could be kept as low as possible to suppress DC content during the modulation procedure.

FIG. 1 shows a functional block diagram of an 8-16 (EFM+) modulation system for transforming 8bit data word B(t) into 16-bit code words X(t). During the modulation procedure, each 8-bit data word B(t) associated with a current state S(t) is converted to a main code word X_(m)(t) having 16 channel bits and a main next state S_(m)(t+1) through a main conversion table 11. If the data word B(t) is less than eighty-eight, a comparator 13 enables a substitution conversion table 12 to simultaneously output a sub code word X_(s)(t) and a sub next state S_(s)(t+1). Meanwhile, a DSV controller 14 is also enabled to calculate a DSV corresponding to each of the main and sub code words, and select one of the code words to be the output code word X(t). The code word X(t) is selected so as to minimize the absolute value of the cumulative DSV. If the main code word X_(m)(t) is selected as the code word X(t), the main next state S_(m)(t+1) is designated as the next state S(t+1). The next state S(t+1) is temporarily stored in the state register 15. Similarly, if the sub code word X_(s)(t) is selected as the code word X(t), the sub next state S_(s)(t+1) is designated as the next state S(t+1). For DVD modulation, a code word X(t) is obtained through the aforesaid conversion tables 11 and 12 when a data word B(t) and the corresponding current state S(t) are known. The code word X(t) is independent from subsequent data word B(t+1).

During the modulation process for a high density optical storage system such as HD-DVD, Blu-ray, or AOD system, a modulation code word is obtained after determination of the DSV control bit. A DSV control bit may not exist in each data word, and ideally, the determination of the DSV control bits should depend upon all the data words so that the overall cumulative DSV is kept to the minimum. Consequently, a large number of registers is required for storing data words or code words during the modulation process, which also result in a long latency delay.

SUMMARY OF THE INVENTION

Modulation methods and systems for recording digital data on an optical storage medium are provided. A DSV control bit is determined before, after, or while converting the data words into codes words, and the determined DSV control bit is used to modify the DSV control bit of a corresponding code word. Embodiments of the modulation method and system are capable of reducing the required buffer capacity, and keeping a constant latency for determining code words.

The DSV control bit is determined when detecting at least one subsequent DSV control bit so as to suppress DC (direct current) content of the signal during modulation.

A modulation system comprises an encoder for transferring data words to tentative code words. A DSV control bit generator determines the value of a DSV control bit according to the data words or the tentative code words to optimize the cumulative DSVs corresponding tentative code words, wherein the DSV control bit generator determines the value of a current DSV control bit when at least a subsequent DSV control bit is detected. A final code word generator generates final code words according to the determined DSV control bit and the tentative code words.

In some other embodiments, a modulation system comprises an encoder for transferring data words to tentative code words. A DSV control bit generator determines the value of a DSV control bit according to the data words or the tentative code words to optimize the cumulative DSVs corresponding tentative code words, wherein the DSV control bit generator determines the value of a current DSV control bit after a predetermined delay. A final code word generator generates final code words according to the determined DSV control bit and the tentative code words.

In some other embodiments, a modulation system comprises an encoder for transferring data words to tentative code words. A partial DSV generator generates partial digital sum values (DSVs) according to the data words or tentative code words, a DSV accumulator for cumulating the partial DSVs as cumulative DSVs for possible values of a DSV control bit. A DSV control bit generator determines the value of a DSV control bit according to the cumulative DSVs, wherein the DSV control bit generator determines the value of a current DSV control bit when at least a subsequent DSV control bit is detected. A final code word generator generates final code words according to the determined DSV control bit and the tentative code words.

These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a functional block diagram for EFM+modulation.

FIG. 2 is a functional block diagram showing an embodiment of a modulation syste m.

FIG. 3 expresses an example of a portion of the code conversation table shown in FIG. 2.

FIG. 4 is a functional block diagram showing an embodiment of the DSV controller in FIG. 2.

FIG. 5 is a functional block diagram showing an embodiment of the DSV control bit generator in FIG. 4.

FIGS. 6-7 are graphs illustrating cumulative DSV calculation.

FIGS. 8-10 are functional block diagrams showing embodiments of modulation systems.

FIG. 11 is a block diagram showing an embodiment of the DSV control bit generator in FIG. 10.

FIG. 12 shows a portion of an exemplary partial DSV table.

FIGS. 13-14 are functional block diagrams showing embodiments of modulation systems.

FIG. 15 is a detailed diagram of the embodiment shown in FIG. 14.

FIG. 16 represents an example of a so-called mapping table that converts data words to partial DSVs.

FIG. 17 shows an example implementation of the encoder shown in FIG. 14 for the conversion from data word to code word.

FIG. 18 is a functional block diagram showing an embodiment of a modulation syste m.

FIG. 19 is a detailed diagram of the embodiment shown in FIG. 18.

FIGS. 20 to 21 are functional block diagrams showing embodiments of modulation systems.

FIG. 22 is a summarized structural diagram of a modulation system.

DETAILED DESCRIPTION

FIG. 2 is a block diagram showing an embodiment of a modulation system 20 in a high-density recording system. For example, in an HD-DVD recording system, 8-bit data words will be transformed into 12-bit code words through a modulation system 20 as shown in FIG. 2, and the 12-bit code words is for recording on an optical disc. During the modulation procedure, the 8bit data word B(t) associated with a current state S(t) read from a state register 22 is converted to a pre-connection word X(t) through a conversion table 21, and in the meanwhile, a next state S(t+1) is also derived and stored in the state register 22. FIG. 3 expresses an example of a portion of the code conversation table 21. Concatenation rules for code words should be applied to connect the pre-connection code words X(t) derived from the conversion table 21. If adjoining pre-connection code words X(t) fit in some specific patterns, these pre-connection code words X(t) should be modified by a code connector 23. The code connector 23 generates and outputs pre-DSV code words Y(t), and if a pre-connection code word X(t) includes a DSV control bit, it also outputs a DSV control bit indicator IDDSV to a DSV controller 24. The DSV controller 24 determines the value of a current DSV control bit which minimizes the absolute cumulative DSV when it detects a subsequent DSV control bit from the code connector 23 or after a predetermined delay, and generate a post-DSV code word Z(t) according to the corresponding pre-DSV code word Y(t) and the determined current DSV control bit to achieve a minimized absolute cumulative DSV. The post-DSV code word Z(t) may be generated by modifying, inserting, or updating the corresponding pre-DSV code word Y(t) according to the determined current DSV control bit. Another way to generate the post-DSV code word Z(t) is to generate more than one possible code words corresponding to the corresponding pre-DSV code word Y(t). Z(t) is selected from one of the possible code words corresponding to the determined current DSV control bit. The conversion table 21, state register 22, and code connector 23 act as an encoder 25. In some embodiments, the timing for the DSV controller 24 to determine the value of the current DSV control bit may not depend upon the detection of the subsequent DSV control bit. The DSV controller 24 may wait until a second, a third, or a fourth subsequent DSV control bit has arrived, and then determine the current DSV control bit which minimizes the absolute cumulative DSV. It is also possible that the DSV controller 24 may determines more than one DSV control bit at a time. In some other embodiments such as a Blu-ray system, the current DSV control bit may be determined before the arrival of the subsequent DSV control bit.

FIG. 4 shows an embodiment of the DSV controller 24, the DSV controller 24 includes a DSV control bit generator 151, a DSV control bit detector 152, a DSV location determiner 153, a storage device 154, and an insertion circuit 155. The DSV control bit generator 151 calculates a cumulative DSV for each possible value corresponding to a current control bit, and determines the current DSV control bit BDSV that minimizes the cumulative DSV. The DSV control bit detector 152 detects whether any DSV control bit exists in the current code word according to the DSV control bit indicator IDDSV. When a DSV control bit is detected, the DSV control bit detector 152 notifies the DSV location determiner 153. The storage device 154 stores each of the pre-DSV code words Y(t) generated by the code connector. In some embodiments, the storage device 154 comprises a series of pipe registers, delay registers, or shift registers, wherein each register stores one of the pre-DSV code word Y(t). In some other embodiments, the storage device 154 may be a first-in first-out (FIFO) memory, or a random access memory (RAM) with a write/read address generator. The number of registers is preferably greater than or equal to the maximum number of code words (or data words) between the occurrences of two consecutive DSV control bits. In an embodiment, the maximum number of code words between two consecutive DSV control bits may be the number of words in one frame, for example, 93 words, and it may be the number of words in two frames if considering that the DSV control bit in the frame sync field is used for ROPC (read optimum power calibration). The pre-DSV code words Y(t) are sequentially piped in the storage device 154. The DSV location determiner 153 records the location of each code word having a DSV control bit. For example, the DSV location determiner 153 keeps tracking the storage location of the code word having a first DSV control bit until receiving the code word having a second DSV control bit. When the DSV location determiner 153 receives a DSV control bit indicator IDDSV indicating the arrival of the second DSV control bit, it sends an enabling signal (E₁, E₂, . . . ,En) to a register of the storage device 154 storing the code word having the first DSV control bit. If the code word having the first DSV control bit is currently stored in the m^(th) register of the storage device 154, the DSV location determiner 153 outputs the enabling signal E_(m) to instruct the storage device 154 to allow the insertion of the determined current DSV control bit from the insertion circuit 155 to the m^(th) register. By analogy, the second DSV control bit is determined and inserted into the corresponding register of the storage device 154 when the DSV location determiner 153 receives a DSV control bit indicator IDDSV indicating the arrival of the third DSV control bit, and so on. In this way, a DSV control bit is determined and inserted into the corresponding register of the storage device 154 when the DSV location determiner 153 receives a DSV control bit indicator ID_(DSV) indicating the arrival of the subsequent DSV control bit. Instead of inserting a single DSV control bit into a code word, a code word might have two DSV control bits. In this case, it would be necessary to keep track of the individual bits within the code word to control the insertion of the two DSV control bits. In some other embodiments, the DSV control bits originally existed in the code words or data words are default values or arbitrary values, which will be modified in accordance to the determined DSV control bits generated by the DSV control bit generator. In some other embodiments, the digital words corresponding to the possible DSV control bits values are stored in the registers, then one of the digital words is selected in accordance to the determined DSV control bits generated by the DSV control bit generator. The digital words may be data words, final code words, or tentative code words, where the tentative code words are generated from the data words during modulation, and are used for generating the final code words.

FIG. 5 is a block diagram showing an embodiment of the DSV control bit generator 151 in FIG. 4. Because a DSV control bit has two possible values, 0 and 1, the DSV control bit generator 151 determines the value which minimizes the absolute cumulative DSV. A partial DSV generator 1511 simultaneously generates two partial DSVs, PSD₀ and PSD₁, according to a tentative code word Y(t). If the tentative code word Y(t) does not have any DSV control bit, the two partial DSVs, PSD₀ and PSD₁, generated by the partial DSV generator 1511 are the same. If the tentative code word Y(t) has a DSV control bit as indicated by ID_(DSV), the two partial DSVs, PSD₀ (assuming the current DSV control bit B_(DSV)=0)and PSD₁ (assuming the current DSV control bit B_(DSV)=1), are generated by the partial DSV generator 1511, respectively. The DSV₀ calculator 1512 adds the partial DSV PSD₀ to the cumulative DSV DSV_(A0), or substrates the partial DSV PSD₀ from the cumulative DSV DSV_(A0) according to the polarity of the cumulative DSV DSV_(A0). When the subsequent tentative code word Y(t) output from the code connector 23 does not have any DSV control bit, the cumulative DSV DSV_(A0) is selected from the value stored in the corresponding register 1516. After calculation, the value calculated by the DSVO calculator 1512 is stored in the register 1516 to update the original stored value. In the same manner, the DSV₁ calculator 1513 adds the partial DSV PSD₁ to the cumulative DSV DSV_(A1), or substrates the partial DSV PSD₁ from the cumulative DSV DSV_(A1) according to the polarity of the cumulative DSV DSV_(A1). When the subsequent tentative code word Y(t) output from the code connector 23 does not have any DSV control bit, the cumulative DSV DSV_(A1) is selected from the value stored in the corresponding register 1517. The value calculated by the DSV₁ calculator 1513 is then stored in the register 1517. When a subsequent DSV control bit is detected as indicated by ID_(DSV), the DSV comparator 1519 compares the cumulative DSVs DSV₀ and DSV₁ and chooses the minimum absolute value among which as the updated cumulative DSV_(A). Besides, the DSV comparator 1519 also designates the bit value corresponding to a minimum absolute value as the value of the current DSV control bit B_(DSV). Meanwhile, the two multiplexes, 1514 and 1515, select the updated cumulative DSVA as the cumulative DSVs of the two branches, that is, DSV_(A0) and DSV_(A1) for cumulative DSV calculations in the DSV₀ calculator 1512 and DSV₁ calculator 1513. After cumulative DSV calculation, the values calculated by the DSV₀ calculator 1512 and DSV₁ calculator 1513 are stored to the corresponding registers 1516 and 1517 as the newly updated cumulative DSVs. In this way, a DSV control bit could be determined by comparing the two branches of cumulative DSV calculations when a subsequent DSV control bit is detected.

As shown in the example of FIG. 6, the current DSV control bit is determined by comparing two possible values corresponding to the current DSV control bit, which are absolute cumulative DSVs DSV₀ and DSV₁, when detecting a subsequent DSV control bit at time T₁. In some other embodiments, time T₁, the timing for comparing the cumulative DSVs, may be a constant predetermined interval. In the example of FIG. 6, DSV₀ is smaller than DSV₁ at time T₁, and hence the current DSV control bit is selected as 0.

Moreover, the current DSV control bit can be determined when two subsequent DSV control bits are detected, as shown in the example of FIG. 7. The current DSV control bit is not determined when the first subsequent DSV control bit is detected at time T₁. Each of the cumulative DSVs is split into two branches after time T₁. When the second subsequent DSV control bit is detected at time T2, the DSV comparator 1519 determines the current DSV control bit by comparing the four possible values corresponding to both the current and first subsequent DSV control bits, which are the absolute cumulative DSVs, DSV₀₀, DSV₀₁, DSV₁₀, and DSV₁₁, or in some embodiments, both the current and subsequent DSV control bits can be determined accordingly. In this example, PSDol is the minimum out of the four absolute cumulative DSVs, and hence the current DSV control bit is designated as 0.

FIG. 8 shows another embodiment of a modulation system 70. In this embodiment, a DSV control bit generator 72 determines the DSV control bits according to tentative code words encoded by an encoder 71. The tentative code words are sequentially stored in a code word FIFO 74. A final code word generator 75 inserts the determined DSV control bits sequentially stored in a DSV bit FIFO 73 into corresponding code words read from the code word FIFO 74. In some other embodiments, the final code word generator 75 modifies the original DSV control bit of the tentative code words with the DSV control bit stored in the DSV control bit FIFO 73.

In comparison with the modulation system 70, the modulation system 80 in FIG. 9 further comprises a second encoder 85, so that the buffer 84 may store data words instead of code words, consequently, reducing the memory size required by the data word FIFO 84. The capacity for storing data words is less than the capacity for storing code words, for example, in an HD-DVD recording system, there are eight bits in a data word, but twelve bits in a code word. A DSV control bit generator 82 determines DSV control bits according to tentative code words encoded by a first encoder 81, and outputs the determined DSV control bits to a DSV bit FIFO 83. The second encoder 85 modulates the data words stored in the data word FIFO 84 into tentative code words. The determined DSV control bits output from the DSV control bit FIFO 83 are combined into corresponding tentative code words by a final code word generator 86.

Since the input of the DSV control bit generator 72 in the modulation system 70 and the input of the DSV control bit generator 82 in the modulation system 80 are tentative code words Y(t), which is the same as that in modulation system 20, one embodiment of the DSV control bit generator 72 and the DSV control bit generator 82 could be the same as the DSV control bit generator 151 in the modulation system 20 as shown in FIG. 5.

FIG. 10 is a block diagram showing an embodiment of a modulation system 50. Data words B(t) are provided to a DSV control bit generator 51 and a data word FIFO 53. By utilizing the data word FIFO 53 to store data words B(t) instead of code words, the buffer size of the data word FIFO 53 is reduced. The data word FIFO 53 then provides the data words B(t) to an encoder 54 to transform the data words into code words with undetermined DSV control bits, or so called tentative code words. The DSV control bit generator 51 determines a current DSV control bit to minimize the absolute cumulative DSV when detecting at least one subsequent DSV control bit. The determined current DSV control bit is temporarily stored in a DSV control bit FIFO 52, and then is read out from the DSV control bit FIFO 52. A final code word generator 55 modifies the DSV control bit in the tentative code word according to the current DSV control bit stored in the DSV control bit FIFO 52. By storing the DSV control bit in the DSV control bit FIFO 52, the DSV control bit can be accessed and controlled more easily. In other embodiments, the DSV control bit generator 51 can also use a mapping table to determine the DSV control bit based on the data word. By using a mapping table, the cumulative DSV can be calculated by searching for corresponding values using the data words.

FIG. 11 is a block diagram showing an embodiment 251 of the DSV control bit generator 51 in FIG. 10. Elements 2512-2519 in the DSV control bit generator shown in FIG. 11 are the same as elements 1512-1519 in FIG. 5, thus the description of elements 2512-2519 are omitted. The detailed description of the partial DSV table 2511 will be explained as follows. Since the input of the DSV control bit generator 51 is a signal carrying data words B(t), a partial DSV table 2511 simultaneously maps two partial DSVs, PSD₀ and PSD₁, and a DSV control bit indicator IDDsv according to the data word B(t). A portion of an exemplary partial DSV table 2511 is shown in FIG. 12. If the data word B(t) does not have any DSV control bit, the value of the DSV control bit indicator ID_(DSV) is 0, and the two partial DSVs, PSD₀ and PSD₁, generated by the partial DSV generator 1511 are the same. If the data word B(t) has a DSV control bit, the value of the DSV control bit indicator ID_(DSV) is 1, and the two partial DSVs, PSD₀ (assuming the current DSV control bit B_(DSV)=0)and PSD₁ (assuming the current DSV control bit B_(DSV)=1), are generated by the partial DSV generator 1511, respectively. Besides, the bit asterisk “*” and code connection rules are also taken into consideration for determination of DSV control bit. An offset value will be added to the partial DSVs when the bit asterisk “*” and code concatenation rules are encountered. The offset value is determined according to the previous, current, and subsequent data words.

FIG. 13 is a block diagram showing another embodiment of a modulation system 60. In comparison with the modulation system 50, the modulation system 60 encodes the data words B(t) into code words through an encoder 63, and instead of storing the data words, the system 60 stores the code words with undetermined DSV control bits in a code word FIFO 64. Similarly, the data words are provided to a DSV control bit generator 61 for determining DSV control bits, and the determined DSV control bits are temporarily stored in a DSV control bit FIFO 62 waiting to be retrieved by a final code word generator 65. Since the input of the DSV control bit generator 61 in the modulation system 60 is a stream of data words B(t), which is the same as that in the modulation system 50 of FIG. 10, one embodiment of the DSV control bit generator 61 could be the same as the DSV control bit generator 51 in the modulation system 50 as shown in FIG. 11.

FIGS. 8(A), 9(A), 10(A), and 11(A) are based on FIGS. 8, 9, 10, and 11. In these embodiments 70A, 80A, 50A, 60A, a DSV control bit generator determines the DSV control bits according to data words or code words and sequentially outputs the determined DSV control bits to a DSV control bit FIFO. An encoder in the modulation system of these embodiments encodes each data word B(t) into one or more than one different tentative code words depending on whether any DSV control bit exists in the tentative code words. If no DSV control bit exists in the tentative code words, the tentative code words corresponding to a data word B(t) are the same. If a DSV control bit exists in the tentative code words, two different tentative code words corresponds to a data word B(t) are generated for each possible DSV control value. If two DSV control bit exists in the tentative code words, four different tentative code words corresponds to a data word B(t) are generated for each possible value of the two DSV control bits. Finally, the determined DSV control bits output from the DSV control bit FIFO select the corresponding tentative code words as the post-DSV code word Z(t)through a multiplexer 79, 89, 59, 69.

For a Blu-ray disc (BD) system, 17PP modulation is used to convert a data word to a code word from 2-bit to 3-bit. Please refer to FIGS. 14 and 15, which illustrate a 17PP modulator 200 for use with a Blu-ray disc recorder. A data word B(t) is simultaneously input to a DSV control bit generator 220 and a data word FIFO 210. The data word FIFO 210 stores a plurality of data words 212, where each data word 212 contains a 2-bit ID and 10 bits of data. The 2-bit ID indicates whether a DSV control bit is present in the corresponding 10 bits of data and the location of the DSV control bit. The DSV control bit generator 220 determines a current DSV control bit by calculating two cumulative DSV values 222 and 224 corresponding to a DSV control bit of 0 and 1. The absolute values of the two calculated DSV values 222 and 224 are compared with a comparator 226 to determine which control bit produces the smallest DSV value. In other words, the DSV control bit generator 220 minimizes the absolute cumulative DSV by parallel processing several 2-bit channel bits 221 when detecting at least one subsequent DSV control bit or after a predetermined delay. The buffer size of the data word FIFO 210 determines the predetermined delay used for detecting the DSV control bit since the number of data words that the data word FIFO 210 can store depends on the buffer size of the data word FIFO 210.

In other embodiments, the DSV control bit generator 220 can also use a mapping table to determine the DSV control bit based on the data word. FIG. 16 represents an example of the so-called mapping table that converts data words to partial DSVs. The length of data words in FIG. 16 is not constant, so that the effect of a 2-bits data word may have already been calculated in the previous operation of transferring a data word to the DSV value according to the mapping table in FIG. 16. The effect of a 2-bits data word to the DSV should be ignored if it had been calculated in the previous operation, otherwise the effect should be added into the DSV calculation. The MASK signal is used to indicate whether a 2-bits data word is effective or not. By using a mapping table such as the tables previously mentioned, the cumulative DSV can be calculated by searching for corresponding values using the data words. Afterward, the original DSV control bit of a data word is modified by the DSV control bit determined by the DSV control bit generator 220 by a final data word generator 230, which is shown as a multiplexer in FIG. 15. The data words combined with the determined DSV control bit are modulated into code words X(t) by an encoder 240 in parallel. The parallel modulation utilizes a plurality of modulators 242, and means that several 2-bit channel bits of the data word B(t) are simultaneously converted into 3-bit modulated bits of the code words X(t). FIG. 17 shows an example implementation of the encoder 240 for the conversion from data word to code word.

Please refer to FIGS. 18 and 19, which illustrate a 17PP modulator 300 for serial processing data. As shown in FIG. 18, a data word B(t) is simultaneously input into a DSV control bit generator 320 and a data word FIFO 310. The data word FIFO 310 stores a plurality of sequential 2-bit channel bits 312 of the data word B(t). The DSV control bit generator 320 determines a current DSV control bit by calculating two cumulative DSV values 322 and 324 corresponding to a DSV control bit of 0 and 1. The absolute values of the two calculated DSV values 322 and 324 are compared with a comparator 326 to determine which control bit produces the smallest DSV value. In other words, the DSV control bit generator 320 minimizes the absolute cumulative DSV by serially processing sequential 2-bit channel bits 321 when detecting at least one subsequent DSV control bit. Afterward, a determined DSV control bit is inserted into a corresponding data word by a final data word generator 330. The data words combined with the determined DSV control bit are temporally buffered in a post-DSV data word FIFO 340. An encoder 350 serially reads the data words 342 from the post-DSV data word FIFO 340 for encoding them into code words X(t) channel-bit to channel-bit.

Please refer to FIG. 20 and FIG. 21, which illustrate embodiments 500, 520 of modulation systems. The embodiments 500, 520 can make use of either serial or parallel implementations, such as the parallel implementation shown in FIG. 14 and the serial implementation shown in FIG. 18.

In these embodiments, an insertion circuit 502 inserts each DSV control bit into the corresponding positions within the stream of the data words. Because each DSV control bit has two possible values, 0 and 1, two different streams of data words corresponding to each possible value of a DSV control bit are produced after the insertion circuit 502. The two different streams of data words are provided to a data word FIFO 504 and a DSV control bit generator (determiner) 506 for determining each DSV control bit within the two different streams of data words. In the embodiment of FIG. 20, the determined DSV control bit selects a corresponding data word stream for encoding. The DSV control bit selects the corresponding data word through a multiplexer 508, and an encoder 510 encodes the result. In the embodiment of FIG. 21, an encoder 522 modulates the two streams of data words stored in the data word FIFO 504 into two respective streams of code words. Then, the determined DSV control bit uses multiplexer 524 to select a corresponding stream of code words as the post-DSV code word Z(t).

Please refer to FIG. 22, which is a summarized structural diagram of a modulation system 400 according to the above disclosure. In the modulation system 400, blocks 402-406 represent required blocks and blocks 410-418 represent optional ones. A digital word FIFO 402 may store either data words or tentative code words, and the input source may be data words or tentative code words. Similarly, the source of the DSV control bit generator 404 may be data words or tentative code words. Final word generator 406 may generate either final data words or final code words as output by either modifying, replacing, inserting, or selecting the final word according to DSV control bits determined by the DSV control bit generator 404.

For the optional units, one or more encoders 410, 412, 414, 418 may be placed in many possible positions, and it is also possible that multiple encoders are included in the system. A DSV control bit FIFO 416 can be included in some embodiments, whereas in some other embodiments, the DSV control bit may be directly transferred to the final word generator 406 without the FIFO, for example, by knowing where to insert/modify the DSV control bit by calculating its position.

Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, consumer electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ”. Also, the term “couple” or “couples” is intended to mean either an indirect or direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.

Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

1. A modulation system, comprising: an encoder, transferring data words to tentative code words; a DSV control bit generator, determining the value of a DSV control bit according to the data words or the tentative code words to optimize the cumulative DSVs corresponding tentative code words, wherein the DSV control bit generator determines the value of a current DSV control bit when at least a subsequent DSV control bit is detected; and a final code word generator, generating final code words according to the determined DSV control bit and the tentative code words.
 2. A modulation system, comprising: an encoder, transferring data words to tentative code words; a DSV control bit generator, determining the value of a DSV control bit according to the data words or the tentative code words to optimize the cumulative DSVs corresponding tentative code words, wherein the DSV control bit generator determines the value of a current DSV control bit after a predetermined delay; and a final code word generator, generating final code words according to the determined DSV control bit and the tentative code words.
 3. A modulation system, comprising: an encoder, transferring data words to tentative code words; a partial DSV generator, generating partial digital sum values (DSVs) according to the data words or tentative code words; a DSV accumulator, cumulating the partial DSVs as cumulative DSVs for possible values of a DSV control bit; a DSV control bit generator, determining the value of a DSV control bit according to the cumulative DSVs, wherein the DSV control bit generator determines the value of a current DSV control bit when at least a subsequent DSV control bit is detected; and a final code word generator, generating final code words according to the determined DSV control bit and the tentative code words.
 4. The modulation system according to claim 3, further comprising a storage device for storing the data words or the tentative code words.
 5. The modulation system according to claim 4, further comprising a DSV control bit buffer storing the DSV control bit determined by the DSV control bit generator.
 6. The modulation system according to claim 5, wherein the DSV control bit buffer stores an arbitrary value as the DSV control bit for a data word if no DSV control bit is included in the data word, and the final code word generator ignores the arbitrary value while generating the code word corresponding to the data word without the DSV control bit.
 7. The modulation system according to claim 3, wherein the encoder performs code conversion and code connection to prevent generating invalid code words.
 8. The modulation system according to claim 7, wherein the encoder generates a pre-connection code word for each data word and a corresponding state according to a conversion table, and each tentative code word is generated based on the corresponding pre-connection code word.
 9. The modulation system according to claim 3, wherein the DSV accumulator calculates the cumulative DSVs corresponding to the code words between at least two successive DSV control bits.
 10. The modulation system according to claim 3, wherein the partial DSV generator and the encoder arranges the data words in parallel or in series for calculating the partial DSVs and transferring the data words into the tentative code words respectively.
 11. The modulation system according to claim 3, wherein the predetermined delay is defined by a period of time or a number of data bits.
 12. The modulation system according to claim 3, further comprising: a DSV location determiner notifying the final code word generator locations of the DSV control bit in the tentative code words; wherein the final code word generator modifies the locations in the tentative code words according to the determined DSV control bits. 